﻿using System;

class CompareFloatingPointNumbers
{
    static void Main()
    {
        float numberOne = 5.3f;
        float numberTwo = 6.01f;
        float numberThree = 5.00000001f;
        float numberFour = 5.00000003f;
        bool compareOneTwo = (numberOne == numberTwo);
        bool compareThreeFour = (numberThree == numberFour);
        Console.WriteLine("Are numbers equal?" + " " + compareOneTwo);
        Console.WriteLine("Are numbers equal?" + " " + compareThreeFour);        
    }
}
